package com.ss.entity.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

/**
 * 节点退回类型。
 * @Author: 夏十七
 * @Date: 2019/7/24 21:46
 * @Version 1.0
 */
public enum SummerRecordResult {

    PASS(1,"通过"),
    FAIL(2,"拒绝"),
    PASS_TO_NODE(3,"通过并调到指定节点"),
    PASS_TO_END(4,"直接通过"),
    BACK(5,"退回编辑"),
    BACK_TO_LAST(6,"退回至上一节点"),
    BACK_TO_NODE(7,"退回至指定节点"),
    SUBMIT(8,"提交");

    SummerRecordResult(int id, String name){
        this.id = id;
        this.name = name;
    }

    @EnumValue
    private final int id;
    private final String name;

    public int getId() {
        return id;
    }
}
